package com.hsh.gaoqianlianmeng.controller;

import com.hsh.gaoqianlianmeng.common.Result;
import com.hsh.gaoqianlianmeng.service.ExpressService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 快递 控制器
 */
@RestController
@RequestMapping("express")
public class ExpressController {

    @Resource
    private ExpressService expressService;

    /**
     * 获取店铺列表
     * @return
     */
    @GetMapping("/getExpress")
    public Result getExpress() {
        return expressService.getExpress();
    }
}
